package com.bknow.model;

import java.io.Serializable;

public class ArticleInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//文章id
	private Integer articleId;
	//文章标题
	private String articleTitle;
	//文章封面
	private String cover;
	//文章内容缩略
	private String summary;
	//文章内容
	private String content;
	//文章上传时间
	
	private String uploadDate;
	//文章点赞总数
	private Integer totalLove;
	//文章存在状态
	private Integer status;
	//文章评论总数
	private Integer totalComment;
	//分类信息
	private ClassifyInfo classifyInfo;
	//用户信息
	private UserInfo userInfo;
	public ArticleInfo() {
		
	}
	
	

	public ArticleInfo(Integer articleId) {
		super();
		this.articleId = articleId;
	}



	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getArticleId() {
		return articleId;
	}
	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}
	public String getArticleTitle() {
		return articleTitle;
	}
	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	
	public String getUploadDate() {
		return uploadDate;
	}



	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}



	public Integer getTotalLove() {
		return totalLove;
	}
	public void setTotalLove(Integer totalLove) {
		this.totalLove = totalLove;
	}
	public Integer getTotalComment() {
		return totalComment;
	}
	public void setTotalComment(Integer totalComment) {
		this.totalComment = totalComment;
	}
	
	public ClassifyInfo getClassifyInfo() {
		return classifyInfo;
	}

	public void setClassifyInfo(ClassifyInfo classifyInfo) {
		this.classifyInfo = classifyInfo;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	@Override
	public String toString() {
		return "ArticleInfo [articleId=" + articleId + ", articleTitle=" + articleTitle + ", summary=" + summary
				+ ", content=" + content + ", uploadDate=" + uploadDate + ", totalLove=" + totalLove + ", totalComment="
				+ totalComment + ", classifyInfo=" + classifyInfo + ", userInfo=" + userInfo + "]";
	}
	
	
	
	
	
}
